package com.winit.uschedule.manager;

import com.winit.uschedule.model.UsTaskDefine;
import com.winit.uschedule.repository.UsTaskDefineRepository;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * Created by wanglin on 2018/6/14.
 */
@Component
public class UsTaskDefineManager {
    private static Logger log = LoggerFactory.getLogger(UsTaskDefineManager.class);
    @Autowired
    UsTaskDefineRepository usTaskDefineRepository;

    public List<UsTaskDefine> getAll(){
        return usTaskDefineRepository.getAll();
    }
}
